package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_peak_hold_guess", desc = "巅峰据点战-竞猜", autoSave = true, uploadCk = true, isCross = true)
public class LogCrossPeakHoldGuess extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "道具id")
    private int timeId;
    @FieldTypeAnnotation(desc = "竞猜的商会")
    private String guessUnion;
    @FieldTypeAnnotation(desc = "竞猜正确的商会")
    private String guessRightUnion;

    public LogCrossPeakHoldGuess(int activityId, long userId, int timeId, String guessUnion, String guessRightUnion) {
        this.activityId = activityId;
        this.userId = userId;
        this.timeId = timeId;
        this.guessUnion = guessUnion;
        this.guessRightUnion = guessRightUnion;
    }

    public long getUserId() {
        return userId;
    }
}
